import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// import axios from 'axios'
let app = createApp(App);
app.directive('focus', {
  mounted(el, binding, vnode, prevVNode) {
    el.focus();
  },
});


const test = () => {
    console.log('我是测试函数触发的');
    return '测试成功！';
  };
  
  
app.config.globalProperties.$Test = test;
// app.config.globalProperties.$axios = axios;
app.use(store).use(router).mount('#app')
